package com.zy.controller;

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequiredArgsConstructor
@Slf4j
public class FallbackController {

    @GetMapping(value = "/fb")
    public String getFallback(){
        return "this is gateway fallback";
    }
}
